All Questions
Tagged with dockerkubernetes
37 questions
2votes
1answer
50views
How does one run cron jobs in one container that does stuff in another?
I am on Kubernetes. I need to be able to write and run cron jobs in a pod. I can't use the CronJob workload. The solution I found is to run cron jobs from a cron sidecar container. I write cron jobs ...
0votes
1answer
62views
Persisting Docker container logs in Kubernetes?
We have an application running in a Docker container, within Kubernetes, but because of certain limitations we can't change the application to log to stdout & stderr. This means when the app fails ...
1vote
1answer
172views
kubernetes cluster - only crictl can actually see containers (containers assets)
In my kubernetes (v1.28.7), docker uses containerd as underlying container management engine. (I guess I can call it Container Runtime Interface - CRI? ). This is how I assume that (look at the last ...
0votes
1answer
385views
How can I install docker-ce alongside kubernetes on debian when using containerd?
debian/11, kubernetes/1.26.1 I have a Debian 11 host running as the control plane node for a Kubernetes deployment. This deployment uses containerd as the container engine. I'd like to install docker-...
2votes
1answer
40views
How to install Kubernetes on Ubuntu 2022LTS?
I installed docker engine using this page successfully. Now I want to add Kubernetes to it but I don't know how? In Docker-Desktop app that I was using on Windows it was as simple as check out an ...
1vote
0answers
142views
chaos-mesh installation on CentOS 7
I am trying to install chaos-mesh on my CentOS 7 machine but I encounter some difficulties: 2022-11-25T14:53:30.795Z ERROR chaos-daemon.daemon-server chaos-daemon/main.go:94 build chaos-daemon ...
4votes
1answer
2kviews
What mechanism prevents me from reading /proc/<PID>/environ in containers with a PID namespace shared with the host?
While investigating sharing the PID namespace with containers, I noticed something interesting that I don't understand. When a container shares the PID namespace with the host, some processes have ...
3votes
0answers
1kviews
Kubernetes - Can I set Number of Open Files Limit per pod/container?
So in Linux, we can use /proc/sys/fs/file-max to set system(node) wide limit. Is there a way to set per pod/container?
0votes
1answer
2kviews
Kubernetes OutOfcpu error when Requests.cpu == Limits.cpu
I'm running Kubernetes Jobs in which I set limits and requests both to the same number of CPUs. In some of these jobs I'm occasionally seeing OutOfcpu errors When I kubectl describe pods PODNAME I see ...
4votes
1answer
2kviews
How can "/sys/class/net/eth0/iflink" have system wide information in a container
I was looking for ways to tcpdump a Kubernetes pod. Each pod creates a virtual interface and it is hard to know which interface belongs to the actual pod. I found a method that helps identify the ...
3votes
0answers
298views
Make memory.limit_in_bytes ignore file cache
When using cgroups (either standalone or as part of docker or kubernetes) memory.limit_in_bytes counts file cache towards the processes memory usage. This has an unexpected side effect that I'm trying ...
2votes
0answers
661views
Inodes on /run filesystem is full
Inode on /run is getting full for all our nodes that are being managed by EKS, especially for small instances like t3a.medium below output from df -i. Filesystem Inodes IUsed IFree IUse% Mounted ...
-1votes
1answer
2kviews
How to use the awk command in oc exec (openshift command line)
I am trying to get the process names from POD's thorug oc exec command line. I need to grab first filed of each row in the output. I am getting following error. but this ps -ef|grep NIM| awk '{print $...
0votes
1answer
108views
Sysdig doesn’t record events inside Kubernetes pods
I use Microk8s kubectl. I tried to record events inside a pod (named e.g., mypod) using sysdig by setting a filter k8s.pod.name=mypod (specifically through $sysdig k8s.pod.name=mypod). But sysdig does ...
0votes
1answer
740views
Certificate signed with custom CA in Kubernetes not Valid
I am attempting to setup the following process. Pod starts and generates a private key and csr Submits csr to password protected service for signing and ip verification Service returns valid crt that ...